package com.lottery.material.entity.portaluser;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_follow_info")//关注信息表
public class FollowInfo extends BaseEntity {

    private static final long serialVersionUID = 4662128803240765911L;

    @Column(columnDefinition = "varchar(50) not null comment '用户id'")
    private String userId;

    @Column(columnDefinition = "varchar(50) not null comment '关注用户id'")
    private String followUserId;

}
